A TDR has been detected. The application must close.

Was watching a real-time render and at about 100-150 samples in, encountered the error below for the first time ever today (KeyShot 2023 Version 12.1.1 (Build 11) [4.8.1]). All system (Windows10/Nvidia) drivers and updates are current. Is there any other information that would be helpful that I could provide?

A TDR has been detected. The application must close. Error code: 7 (pid=9368 tid=15960 keyshot.exe 64bit) Visit http://nvidia.custhelp.com/app/answers/detail/a_id/3633 for more information.

System

  • Provider

[ Name] NVIDIA OpenGL Driver

  • EventID 1

[ Qualifiers] 49152

Version 0

Level 2

Task 0

Opcode 0

Keywords 0x80000000000000

  • TimeCreated

[ SystemTime] 2023-08-23T14:39:36.8463233Z

EventRecordID 498466

Correlation

  • Execution

[ ProcessID] 0
[ ThreadID] 0

Channel Application

Computer DESKTOP-XXXXXXX

Security

A TDR is basically that the GPU is past it’s amount of time waiting for instructions. It’s a time-out which is set in the Windows registry and it’s default value is not really a nice one.

If you use programs such as Marmoset Toolbag or Substance Painter they always advice you to change the TDR settings to higher values by some registry edits.

The file I attached is one I used, you can save it and rename it to .reg instead of .txt and double click it to put it in the registry. You can also just open the files and change the values with the registry editor yourself but double-click a .reg is the easier way.

Think you need to restart the PC afterwards but it should prevent programs which send quite a lot of data to GPU to throw an error because Windows thinks it takes too long.

TdrLevels_Substance.txt (392 Bytes)

I’ve never had one in KS but maybe because my values are higher already. Would be nice if KS would adjust the TDR values on install so you don’t get this error.